<?php
$menu = array (
    0 =>
        array(
            'name' => 'xiservice',
            'title' => '西泉家政服务',
            'icon' => 'fa fa-circle-o',
            'ismenu' => 1,
            'sublist' =>
                array (
                    0 =>
                        array(
                            'name' => 'xiservice/console',
                            'title' => '数据中心',
                            'weigh'   => '5000',
                            'ismenu' => 1,
                        ),
                    1 =>
                        array (
                            'name' => 'xiservice/services',
                            'title' => '服务管理',
                            'ismenu' => 1,
                            'weigh'   => '4900',
                            'sublist' =>
                                array (
                                    0 =>
                                        array (
                                            'name' => 'xiservice/service',
                                            'title' => '服务管理',
                                            'ismenu' => 1,
                                            'sublist' =>
                                                  array (
                                                      0 =>
                                                          array (
                                                              'name' => 'xiservice/service/index',
                                                              'title' => '查看',
                                                          ),
                                                      1 =>
                                                          array (
                                                              'name' => 'xiservice/service/add',
                                                              'title' => '添加',
                                                          ),
                                                      2 =>
                                                          array (
                                                              'name' => 'xiservice/service/edit',
                                                              'title' => '编辑',
                                                          ),
                                                      3 =>
                                                          array (
                                                              'name' => 'xiservice/service/del',
                                                              'title' => '删除',
                                                          ),
                                                      4 =>
                                                          array (
                                                              'name' => 'xiservice/service/multi',
                                                              'title' => '批量更新',
                                                          )
                                                  ),
                                        ),
                                    1 =>
                                        array (
                                            'name' => 'xiservice/service_category',
                                            'title' => '服务分类',
                                            'ismenu' => 1,
                                            'sublist' =>
                                                array (
                                                      0 =>
                                                          array (
                                                              'name' => 'xiservice/service_category/index',
                                                              'title' => '查看',
                                                          ),
                                                      1 =>
                                                          array (
                                                              'name' => 'xiservice/service_category/add',
                                                              'title' => '添加',
                                                          ),
                                                      2 =>
                                                          array (
                                                              'name' => 'xiservice/service_category/edit',
                                                              'title' => '编辑',
                                                          ),
                                                      3 =>
                                                          array (
                                                              'name' => 'xiservice/service_category/del',
                                                              'title' => '删除',
                                                          ),
                                                      4 =>
                                                          array (
                                                              'name' => 'xiservice/service_category/multi',
                                                              'title' => '批量更新',
                                                          )
                                                ),
                                        ),
                                ),
                        ),
                    2 =>
                        array (
                            'name' => 'xiservice/order',
                            'title' => '订单管理',
                            'ismenu' => 1,
                            'weigh'   => '4800',
                            'sublist' =>
                                    array (
                                         0 =>
                                            array (
                                                'name' => 'xiservice/order/index',
                                                'title' => '查看',
                                            ),
                                         1 =>
                                            array (
                                                'name' => 'xiservice/order/add',
                                                'title' => '添加',
                                            ),
                                        2 =>
                                            array (
                                                'name' => 'xiservice/order/edit',
                                                'title' => '编辑',
                                            ),
                                         3 =>
                                             array (
                                                'name' => 'xiservice/order/del',
                                                'title' => '删除',
                                            ),
                                        4 =>
                                            array (
                                                'name' => 'xiservice/order/multi',
                                                'title' => '批量更新',
                                            ),
                                        5 =>
                                            array (
                                                'name' => 'xiservice/order/detail',
                                                'title' => '订单详情',
                                            ),
                                        6 =>
                                            array (
                                                'name' => 'xiservice/order/cancel',
                                                'title' => '取消订单',
                                            ),
                                        7 =>
                                            array (
                                                'name' => 'xiservice/order/changeworker',
                                                'title' => '派单/更换服务人员',
                                            ),
                                        8 =>
                                            array (
                                                'name' => ' xiservice/order/sure',
                                                'title' => '确认订单',
                                            ),
                                        9 =>
                                            array (
                                                'name' => ' xiservice/order/start',
                                                'title' => '开始服务',
                                            ),
                                        10 =>
                                            array (
                                                'name' => ' xiservice/order/refund',
                                                'title' => '退款',
                                            ),
                                        11 =>
                                            array (
                                                'name' => ' xiservice/order/finish',
                                                'title' => '完成',
                                            ),
                                        )
                        ),
                    3 =>
                        array (
                            'name' => 'xiservice/refund',
                            'title' => '退款申请',
                            'ismenu' => 1,
                            'weigh'   => '4700',
                            'sublist' =>
                                    array (
                                         0 =>
                                            array (
                                                'name' => 'xiservice/refund/index',
                                                'title' => '查看',
                                            ),
                                         1 =>
                                            array (
                                                'name' => 'xiservice/refund/add',
                                                'title' => '添加',
                                            ),
                                         2 =>
                                            array (
                                                'name' => 'xiservice/refund/edit',
                                                'title' => '编辑',
                                            ),
                                         3 =>
                                             array (
                                                'name' => 'xiservice/refund/del',
                                                'title' => '删除',
                                            ),
                                         4 =>
                                            array (
                                                'name' => 'xiservice/refund/multi',
                                                'title' => '批量更新',
                                            ),
                                         5 =>
                                            array (
                                                'name' => 'xiservice/refund/agree',
                                                'title' => '同意退款',
                                            ),
                                         6 =>
                                            array (
                                                'name' => 'xiservice/refund/refuse',
                                                'title' => '拒绝退款',
                                            ),
                                        )
                        ),
                    4 =>
                        array (
                            'name' => 'xiservice/withdraw',
                            'title' => '提现管理',
                            'ismenu' => 1,
                            'weigh'   => '4600',
                            'sublist' =>
                                    array (
                                         0 =>
                                            array (
                                                'name' => 'xiservice/withdraw/index',
                                                'title' => '查看',
                                            ),
                                         1 =>
                                            array (
                                                'name' => 'xiservice/withdraw/add',
                                                'title' => '添加',
                                            ),
                                         2 =>
                                            array (
                                                'name' => 'xiservice/withdraw/edit',
                                                'title' => '编辑',
                                            ),
                                         3 =>
                                             array (
                                                'name' => 'xiservice/withdraw/del',
                                                'title' => '删除',
                                            ),
                                         4 =>
                                            array (
                                                'name' => 'xiservice/withdraw/multi',
                                                'title' => '批量更新',
                                            ),
                                         5 =>
                                            array (
                                                'name' => 'xiservice/withdraw/agree',
                                                'title' => '同意提现',
                                            ),
                                         6 =>
                                            array (
                                                'name' => 'xiservice/withdraw/refuse',
                                                'title' => '拒绝提现',
                                            ),
                                        )
                        ),
                    5 =>
                        array (
                            'name'  => 'xiservice/member',
                            'title' => '用户管理',
                            'ismenu'=> 1,
                            'weigh'  => '4500',
                            'sublist'=>
                                array (
                                    0 =>
                                        array (
                                            'name' => 'xiservice/service_tag',
                                            'title' => '标签管理',
                                            'ismenu' => 1,
                                            'sublist' =>
                                                  array (
                                                      0 =>
                                                          array (
                                                              'name' => 'xiservice/service_tag/index',
                                                              'title' => '查看',
                                                          ),
                                                      1 =>
                                                          array (
                                                              'name' => 'xiservice/service_tag/add',
                                                              'title' => '添加',
                                                          ),
                                                      2 =>
                                                          array (
                                                              'name' => 'xiservice/service_tag/edit',
                                                              'title' => '编辑',
                                                          ),
                                                      3 =>
                                                          array (
                                                              'name' => 'xiservice/service_tag/del',
                                                              'title' => '删除',
                                                          ),
                                                      4 =>
                                                          array (
                                                              'name' => 'xiservice/service_tag/multi',
                                                              'title' => '批量更新',
                                                          )
                                                  ),
                                        ),                                    
                                    1 =>
                                        array (
                                            'name' => 'xiservice/user',
                                            'title' => '用户管理',
                                            'ismenu' => 1,
                                            'sublist' =>
                                                array (
                                                    0 =>
                                                        array (
                                                            'name' => 'xiservice/user/index',
                                                            'title' => '查看',
                                                        ),
                                                    1 =>
                                                        array (
                                                            'name' => 'xiservice/user/add',
                                                            'title' => '添加',
                                                        ),
                                                    2 =>
                                                        array (
                                                            'name' => 'xiservice/user/edit',
                                                            'title' => '编辑',
                                                        ),
                                                    3 =>
                                                        array (
                                                            'name' => 'xiservice/user/del',
                                                            'title' => '删除',
                                                        ),
                                                    4 =>
                                                        array (
                                                            'name' => 'xiservice/user/multi',
                                                            'title' => '批量更新',
                                                        )
                                                ),
                                        ),
                                    2 =>
                                        array (
                                            'name' => 'xiservice/worker',
                                            'title' => '服务人员管理',
                                            'ismenu' => 1,
                                            'sublist' =>
                                                array (
                                                    0 =>
                                                        array (
                                                            'name' => 'xiservice/worker/index',
                                                            'title' => '查看',
                                                        ),
                                                    1 =>
                                                        array (
                                                            'name' => 'xiservice/worker/add',
                                                            'title' => '添加',
                                                        ),
                                                    2 =>
                                                        array (
                                                            'name' => 'xiservice/worker/edit',
                                                            'title' => '编辑',
                                                        ),
                                                    3 =>
                                                        array (
                                                            'name' => 'xiservice/worker/del',
                                                            'title' => '删除',
                                                        ),
                                                    4 =>
                                                        array (
                                                            'name' => 'xiservice/worker/multi',
                                                            'title' => '批量更新',
                                                        )
                                                ),
                                        ),
                                    3 =>
                                        array (
                                            'name' => 'xiservice/worker/audit',
                                            'title' => '服务人员审核',
                                            'ismenu' => 1,
                                            'sublist' =>
                                                array (
                                                    0 =>
                                                        array (
                                                            'name' => 'xiservice/worker/agree',
                                                            'title' => '同意',
                                                        ),
                                                    1 =>
                                                        array (
                                                            'name' => 'xiservice/worker/refuse',
                                                            'title' => '拒绝',
                                                        )
                                                ),
                                        ),
                                ),
                        ),                    
                    6 =>
                        array (
                            'name' => 'xiservice/message',
                            'title' => '平台消息',
                            'ismenu' => 1,
                            'weigh'   => '4300',
                            'sublist' =>
                                    array (
                                         0 =>
                                            array (
                                                'name' => 'xiservice/message/index',
                                                'title' => '查看',
                                            ),
                                         1 =>
                                            array (
                                                'name' => 'xiservice/message/add',
                                                'title' => '添加',
                                            ),
                                        2 =>
                                            array (
                                                'name' => 'xiservice/message/edit',
                                                'title' => '编辑',
                                            ),
                                         3 =>
                                             array (
                                                'name' => 'xiservice/message/del',
                                                'title' => '删除',
                                            ),
                                        4 =>
                                            array (
                                                'name' => 'xiservice/message/multi',
                                                'title' => '批量更新',
                                            ),
                                        )
                        ),
                    7 =>
                        array (
                            'name' => 'xiservice/wxtemplate',
                            'title' => '订阅消息配置',
                            'ismenu' => 1,
                            'weigh'   => '4200',
                            'sublist' =>
                                    array (
                                         0 =>
                                            array (
                                                'name' => 'xiservice/wxtemplate/index',
                                                'title' => '查看',
                                            ),
                                         1 =>
                                            array (
                                                'name' => 'xiservice/wxtemplate/add',
                                                'title' => '添加',
                                            ),
                                        2 =>
                                            array (
                                                'name' => 'xiservice/wxtemplate/edit',
                                                'title' => '编辑',
                                            ),
                                         3 =>
                                             array (
                                                'name' => 'xiservice/wxtemplate/del',
                                                'title' => '删除',
                                            ),
                                        4 =>
                                            array (
                                                'name' => 'xiservice/wxtemplate/multi',
                                                'title' => '批量更新',
                                            ),
                                        )
                        ),
                    8 =>
                        array(
                            'name' => 'xiservice/general',
                            'title' => '综合管理',
                            'weigh'   => '4100',
                            'ismenu' => 1,
                            'sublist' =>
                                array (
                                    0 =>
                                        array(
                                          'name' => 'xiservice/city',
                                          'title' => '开放城市',
                                          'icon' => 'fa fa-circle-o',
                                          'ismenu' => 1,
                                          'sublist' =>
                                              array (
                                                  0 =>
                                                      array (
                                                          'name' => 'xiservice/city/index',
                                                          'title' => '查看',
                                                      ),
                                                  1 =>
                                                      array (
                                                          'name' => 'xiservice/city/add',
                                                          'title' => '添加',
                                                      ),
                                                  2 =>
                                                      array (
                                                          'name' => 'xiservice/city/edit',
                                                          'title' => '编辑',
                                                      ),
                                                  3 =>
                                                      array (
                                                          'name' => 'xiservice/city/del',
                                                          'title' => '删除',
                                                      ),
                                                  4 =>
                                                      array (
                                                          'name' => 'xiservice/city/multi',
                                                          'title' => '批量更新',
                                                      )
                                              ),
                                        ),
                                    1 =>
                                        array(
                                          'name' => 'xiservice/banner',
                                          'title' => '广告管理',
                                          'icon' => 'fa fa-circle-o',
                                          'ismenu' => 1,
                                          'sublist' =>
                                              array (
                                                  0 =>
                                                      array (
                                                          'name' => 'xiservice/banner/index',
                                                          'title' => '查看',
                                                      ),
                                                  1 =>
                                                      array (
                                                          'name' => 'xiservice/banner/add',
                                                          'title' => '添加',
                                                      ),
                                                  2 =>
                                                      array (
                                                          'name' => 'xiservice/banner/edit',
                                                          'title' => '编辑',
                                                      ),
                                                  3 =>
                                                      array (
                                                          'name' => 'xiservice/banner/del',
                                                          'title' => '删除',
                                                      ),
                                                  4 =>
                                                      array (
                                                          'name' => 'xiservice/banner/multi',
                                                          'title' => '批量更新',
                                                      )
                                              ),
                                        ),
                                    2 =>
                                        array(
                                          'name' => 'xiservice/question',
                                          'title' => '常见问题',
                                          'icon' => 'fa fa-circle-o',
                                          'ismenu' => 1,
                                          'sublist' =>
                                              array (
                                                  0 =>
                                                      array (
                                                          'name' => 'xiservice/question/index',
                                                          'title' => '查看',
                                                      ),
                                                  1 =>
                                                      array (
                                                          'name' => 'xiservice/question/add',
                                                          'title' => '添加',
                                                      ),
                                                  2 =>
                                                      array (
                                                          'name' => 'xiservice/question/edit',
                                                          'title' => '编辑',
                                                      ),
                                                  3 =>
                                                      array (
                                                          'name' => 'xiservice/question/del',
                                                          'title' => '删除',
                                                      ),
                                                  4 =>
                                                      array (
                                                          'name' => 'xiservice/question/multi',
                                                          'title' => '批量更新',
                                                      )
                                              ),
                                        ),
                                    3 =>
                                        array(
                                          'name' => 'xiservice/article',
                                          'title' => '文章管理',
                                          'icon' => 'fa fa-circle-o',
                                          'ismenu' => 1,
                                          'sublist' =>
                                              array (
                                                  0 =>
                                                      array (
                                                          'name' => 'xiservice/article/index',
                                                          'title' => '查看',
                                                      ),
                                                  1 =>
                                                      array (
                                                          'name' => 'xiservice/article/add',
                                                          'title' => '添加',
                                                      ),
                                                  2 =>
                                                      array (
                                                          'name' => 'xiservice/article/edit',
                                                          'title' => '编辑',
                                                      ),
                                                  3 =>
                                                      array (
                                                          'name' => 'xiservice/article/del',
                                                          'title' => '删除',
                                                      ),
                                                  4 =>
                                                      array (
                                                          'name' => 'xiservice/article/multi',
                                                          'title' => '批量更新',
                                                      )
                                              ),
                                        ),
                                ),
                        ),
                    9 =>
                        array(
                            'name' => 'xiservice/config',
                            'title' => '网站配置',
                            'weigh'   => '4000',
                            'ismenu' => 1,
                            'sublist' =>
                                        array (
                                                  0 =>
                                                  array (
                                                            'name' => 'xiservice/config/index',
                                                            'title' => '查看',
                                                          ),
                                                  1 =>
                                                    array (
                                                            'name' => 'xiservice/config/config',
                                                            'title' => '配置',
                                                          ),
                                              ),
                        ),
                    10 =>
                        array (
                            'name' => 'xiservice/area',
                            'title' => '地区管理',
                            'ismenu' => 1,
                            'weigh'   => '3000',
                            'sublist' =>
                                    array (
                                         0 =>
                                            array (
                                                'name' => 'xiservice/area/index',
                                                'title' => '查看',
                                            ),
                                         1 =>
                                            array (
                                                'name' => 'xiservice/area/add',
                                                'title' => '添加',
                                            ),
                                         2 =>
                                            array (
                                                'name' => 'xiservice/area/edit',
                                                'title' => '编辑',
                                            ),
                                         3 =>
                                             array (
                                                'name' => 'xiservice/area/del',
                                                'title' => '删除',
                                            ),
                                         4 =>
                                            array (
                                                'name' => 'xiservice/area/multi',
                                                'title' => '批量更新',
                                            ),
                                        )
                        ),
                    11 =>
                        array (
                            'name' => 'xiservice/schedule',
                            'title' => '排版管理',
                            'ismenu' => 0,
                            'weigh'   => '3000',
                            'sublist' =>
                                    array (
                                         0 =>
                                            array (
                                                'name' => 'xiservice/schedule/index',
                                                'title' => '查看',
                                            ),
                                         1 =>
                                            array (
                                                'name' => 'xiservice/schedule/add',
                                                'title' => '添加',
                                            ),
                                         2 =>
                                            array (
                                                'name' => 'xiservice/schedule/edit',
                                                'title' => '编辑',
                                            ),
                                         3 =>
                                             array (
                                                'name' => 'xiservice/schedule/del',
                                                'title' => '删除',
                                            ),
                                         4 =>
                                            array (
                                                'name' => 'xiservice/schedule/multi',
                                                'title' => '批量更新',
                                            ),
                                         5 =>
                                             array (
                                                'name' => 'xiservice/schedule/worker',
                                                'title' => '服务人员排班',
                                            ),
                                         6 =>
                                            array (
                                                'name' => 'xiservice/schedule/edit_status',
                                                'title' => '更改排班状态',
                                            )
                                        )
                        ),
                    11 =>
                        array (
                            'name' => 'xiservice/benfit',
                            'title' => '收益管理',
                            'ismenu' => 0,
                            'weigh'   => '3000',
                            'sublist' =>
                                    array (
                                         0 =>
                                            array (
                                                'name' => 'xiservice/benfit/index',
                                                'title' => '查看',
                                            ),
                                         1 =>
                                            array (
                                                'name' => 'xiservice/benfit/add',
                                                'title' => '添加',
                                            ),
                                         2 =>
                                            array (
                                                'name' => 'xiservice/benfit/edit',
                                                'title' => '编辑',
                                            ),
                                         3 =>
                                             array (
                                                'name' => 'xiservice/benfit/del',
                                                'title' => '删除',
                                            ),
                                         4 =>
                                            array (
                                                'name' => 'xiservice/benfit/multi',
                                                'title' => '批量更新',
                                            )
                                        )
                        ),
                )
        ),

);
return $menu;
